#ifndef STATUSCHECKER_H
#define STATUSCHECKER_H

#define INTERFACE "org.google.code.rabbitvcs.StatusChecker"
#define OBJECT_PATH "/org/google/code/rabbitvcs/StatusChecker"
#define SERVICE "org.google.code.rabbitvcs.RabbitVCS.Checker"

#include <QObject>

class StatusChecker : public QObject
{
    Q_OBJECT
public:
    static StatusChecker *getInstance();

    QString checkStatus(const QString &path, bool recurse, bool invalidate, bool summary);
    QString generateMenuConditions(const QStringList &paths);

    QString getStatusIconName(const QString &status);

private:
    explicit StatusChecker(QObject *parent = nullptr);
};

#endif // STATUSCHECKER_H
